package com.blb.exam.service.impl;

import com.blb.exam.common.entity.Subject;
import com.blb.exam.dao.SubjectDAO;
import com.blb.exam.service.SubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SubjectServiceImpl implements SubjectService {

    @Autowired
    private SubjectDAO subjectDAO;

    @Override
    public List<Subject> selectAll() {
        return subjectDAO.selectAll();
    }
}
